close all;

obj = out{5}.RMSE;
tim = Time(5)/length(obj);
tim = tim*(1:length(obj));
plot(tim(1:5:end), obj(1:5:end), 'linewidth', 2, 'color', 'green', 'marker', '*');

hold on;
obj = out{6}.RMSE;
tim = 5*Time(6)/length(obj);
tim = tim*(1:length(obj));
plot(tim(1:30:2000), obj(1:30:2000), 'linewidth', 2, 'color', 'cyan', 'marker', 's');

hold on;
obj = out{2}.RMSE;
tim = Time(2)/length(obj);
tim = tim*(1:length(obj));
plot(tim(1:5:end), obj(1:5:end), 'linewidth', 2, 'color', 'red', 'marker', 'x');

hold on;
obj = out{1}.RMSE;
tim = Time(1)/length(obj);
tim = tim*(1:length(obj));
plot(tim(1:10:end), obj(1:10:end), 'linewidth', 2, 'color', 'black', 'marker', '+');

axis([0, 150, 0.85, 4]);
xlabel('time');
ylabel('RMSE');
legend('active', 'FW', 'Soft-Impute', 'InAccSoft-Impute');